home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
MacHack 2000
/
MacHack 2000.toast
/
pc
/
The Hacks
/
Softshoe
/
Lisa's Mac Parts
/
Files
/
Directories
/
FolderInfoLoop.cp
< prev
next >
Wrap
Text File
|
2000-06-23
|
526b
|
30 lines
// FolderInfoLoop.cp
#ifndef FolderInfoLoop_h
#include "FolderInfoLoop.h"
#endif
void FolderInfoLoop::AdvanceToNextMatch()
{
while ( Unfinished() && !(*this)->IsDirectory() )
CatInfoLoop::operator++();
}
FolderInfoLoop::FolderInfoLoop( Directory folder )
: CatInfoLoop( folder )
{
AdvanceToNextMatch();
}
void FolderInfoLoop::Start( Directory folder )
{
CatInfoLoop::Start( folder );
AdvanceToNextMatch();
}
void FolderInfoLoop::operator++()
{
CatInfoLoop::operator++();
AdvanceToNextMatch();
}